#pragma once
#include "cocos2d.h"
#include "cocos-ext.h"
USING_NS_CC_EXT;
USING_NS_CC;
class Cfg :
	public CCObject
{
public:
	Cfg(void);
	~Cfg(void);

	bool isMusic;
	int playCount;
	int maxScore;
	static Cfg* shareCfg();
};
class WallPool
	: CCObject
{
public:
	WallPool();
	~WallPool();

	static WallPool* sharePool();
	void recycleWall(CCPhysicsSprite* node);
	CCPhysicsSprite* getWall(const char* name);
private:
	CCDictionary* map;
};



